import request from '@/util/request'

export function warnCountDeviceNum(data) {
  return request({
    url: '/iot/device/belong/warnCountNum',
    method: 'post',
    data
  })
}

export function statusDeviceNum(data) {
  return request({
    url: '/iot/device/belong/statusNum',
    method: 'post',
    data
  })
}

export function pageGetDeviceBelong(data) {
  return request({
    url: '/iot/device/belong/pageGet',
    method: 'post',
    data
  })
}

export function provinceDeviceNum(data) {
  return request({
    url: '/iot/device/belong/provinceNum',
    method: 'post',
    data
  })
}

export function provinceDeviceNumOrDevice(data) {
  return request({
    url: '/iot/device/belong/provinceNumOrDevice',
    method: 'post',
    data
  })
}

export function cityDeviceNum(data) {
  return request({
    url: '/iot/device/belong/cityNum',
    method: 'post',
    data
  })
}

export function cityDeviceNumOrDevice(data) {
  return request({
    url: '/iot/device/belong/cityNumOrDevice',
    method: 'post',
    data
  })
}

export function productDeviceNum(data) {
  return request({
    url: '/iot/device/belong/productNum',
    method: 'post',
    data
  })
}

export function seriesDeviceNum(data) {
  return request({
    url: '/iot/device/belong/seriesNum',
    method: 'post',
    data
  })
}

export function getProductAndStatusCount(data) {
  return request({
    url: '/iot/device/belong/productAndStatusNum',
    method: 'post',
    data
  })
}

export function getBelongList(data) {
  return request({
    url: '/iot/device/belong/list',
    method: 'post',
    data
  })
}

export function getBelongDeviceList(data) {
  return request({
    url: '/iot/device/belong/listDevice',
    method: 'post',
    data
  })
}

export function deleteBelong(data) {
  return request({
    url: '/iot/device/belong/delete',
    method: 'post',
    data
  })
}

export function deleteBelongList(data) {
  return request({
    url: '/iot/device/belong/deleteList',
    method: 'post',
    data
  })
}

export function insertBelong(data) {
  return request({
    url: '/iot/device/belong/insert',
    method: 'post',
    data
  })
}

export function updateBelong(data) {
  return request({
    url: '/iot/device/belong/update',
    method: 'post',
    data
  })
}

export function getBelong(data) {
  return request({
    url: '/iot/device/belong/get',
    method: 'post',
    data
  })
}

export function pageGetDevice(data) {
  return request({
    url: '/iot/device/belong/pageGetDevice',
    method: 'post',
    data
  })
}

export function listDevice(data) {
  return request({
    url: '/iot/device/belong/listDevice',
    method: 'post',
    data
  })
}

export function listDeviceGEO(data) {
  return request({
    url: '/iot/device/belong/listDeviceGEO',
    method: 'post',
    data
  })
}

export function pageGetDeviceDetails(data) {
  return request({
    url: '/iot/device/belong/pageGetDeviceDetails',
    method: 'post',
    data
  })
}

